cmake_minimum_required(VERSION 3.1)

project(helloEigen)

set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
#set(EIGEN3_INCLUDE_DIR "/usr/local/include/eigen3")
find_package(Eigen3 REQUIRED)
include_directories(${EIGEN3_INCLUDE_DIR})

message(" EIGEN3_INCLUDE_DIR=${EIGEN3_INCLUDE_DIR}")

set(CMAKE_BUILD_TYPE "Debug")

add_executable(helloEigen eigenMatrix.cpp)

